package com.paas.form.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;

import com.paas.form.dao.FormInterfaceConfigParametersDao;
import com.paas.form.entity.FormInterfaceConfigParametersEntity;
import com.paas.form.service.IFormInterfaceConfigParametersService;
import com.paas.common.web.service.BaseServiceImpl;

@Service("formInterfaceConfigParametersService")
public class FormInterfaceConfigParametersServiceImpl  extends BaseServiceImpl<FormInterfaceConfigParametersDao,FormInterfaceConfigParametersEntity> implements IFormInterfaceConfigParametersService{

    @Override
    public void deleteByParentId(String parentId) {
        QueryWrapper queryWrapper = new QueryWrapper();
        queryWrapper.eq("parent_id",parentId);
        this.baseMapper.delete(queryWrapper);
    }
}